{* $Id: 20110411 *}
<div id="footer" class="span-24">


</div><!-- //footer -->

<div class="clear span-24" id="query_log">
{foreach $query_log as $item}
{$item}<br />
{/foreach}
</div><!-- //query_log -->

<div id="modal_wait" class="hide">
<img src="{$templatePath}images/divs-preloader.gif" />
</div><!-- //modal_wait -->
<div id="modal_message" class="hide"></div><!-- //modal_message -->
<div id="preloading" class="hide">{$lang.please_wait}&nbsp;<img src="{$basePath}images/#preloading#" alt="{$lang.please_wait}" /> </div>
<!-- //preloading -->

<div id="toTop" class="hide">
<a href="#" class="button3d green">^ {$lang.scroll_to_top}</a>
</div>
{#preloading#}
{#testing#}
<img src="{$basePath}images/{#preloading#}" alt="{$lang.please_wait}" />
{capture "js_loginbox"}
<script type="text/javascript">
$(function(){
	var _userinfo = 0;
	var _thistarget = $('#wrapper #page_{$subpage}');
	var _thistargetbuffer = _thistarget.html();
	var _thistargetform = $('#userinfo').html();
	$('#userinfo').remove();
	$('#logoutarea.loginbox .loginarea-userinfo,#form-userinfo a.close').live('click',function(){
		_userinfo = _userinfo ? 0 : 1;
		if(_userinfo)
		{
			_thistarget.html(_thistargetform);
		}
		else {
			_thistarget.html(_thistargetbuffer);
			}
		return false;
	})
});
</script>
{/capture}



<script language="javascript" type="text/javascript">
var _root = '{$config.docroot}';
var _templatePath = _root + 'templates/default/';
var _src = '';
var _ajaxext = '&jx=1';
var _clicked = false;
var _google_analytics = "{$config.analytics_UA}";
var _browser = false;
var _json_checked = false;
var _segfault = "{$pv.data.segfault}";
var _scrollstart = 400;
</script>

{capture "js_segfault"}
<script language="javascript" type="text/javascript">
$(function(){ldelim}
$('#wrapper .topmenu #a_{$subpage}').addClass('selected');
if(_segfault){ldelim}
    $("#modal_message").attr('title', '{$pv.data.header}').html('{$pv.data.message|escape}');
    openModal();
    {rdelim}
{rdelim});
</script>
{/capture}

{*
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
<script type="text/javascript">!window.jQuery && document.write(unescape('%3Cscript src="{$templatePath}jquery.js"%3E%3C/script%3E'));</script>
*}

<script language="javascript" src="{$config.docroot}js/?_={$config.time}" type="text/javascript"></script>
<script language="javascript" src="{$config.docroot}js/?t={$config.template_name}&_={$config.time}" type="text/javascript"></script>

        {foreach $smarty.capture as $cap}{$cap}{/foreach}        

</body>
</html>